﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace MTO.Library.Domain
{
    /// <summary>
    /// This is a component of Customer
    /// </summary>
    [ComplexType]
    public class Address
    {
        [StringLength(255)]
        [Display(Name = "Street Address")]
        [Column("StreetAddress")]
        public string StreetAddress { get; set; }

        [StringLength(6)]
        [Display(Name = "Zip Code")]
        [Column("ZipCode")]
        public string ZipCode { get; set; }
    }
}
